package com.carful.xigua.modules.user.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.carful.xigua.modules.common.entity.BaseEntity;
import java.io.Serializable;

import com.carful.xigua.modules.user.dto.response.ResRecord;
import io.github.linpeilie.annotations.AutoMapper;
import io.github.linpeilie.annotations.AutoMappers;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 领取记录表
 * </p>
 *
 * @author ad
 * @since 2024-07-12
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("carful_record")
@AutoMappers({
        @AutoMapper(target = ResRecord.class),
})
public class Record extends BaseEntity<Record> {

    @TableField("phone")
    private String phone;

    @TableField("member")
    private String member;

    @TableField("user_id")
    private Integer userId;

    @TableField("org_name")
    private String orgName;

    @TableField("status")
    private Integer status;

    @Override
    public Serializable pkVal() {
        return null;
    }
}
